package com.csii.activiti.server.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csii.activiti.server.core.entity.db.ActFlowGroupEntity;

import java.util.List;

public interface FlowGroupService extends IService<ActFlowGroupEntity> {
    /**
     * 查询全部分组
     * @return
     */
    List<ActFlowGroupEntity> queryActFlowGroupList();

    /**
     * 编辑分组
     * @param actFlowGroupEntity
     * @return
     */
    void editActFlowGroup(ActFlowGroupEntity actFlowGroupEntity);
    /**
     * 删除分组
     * @param id
     * @return
     */
    void deleteActFlowGroup(String id);

    /**
     * 添加分组
     * @param actFlowGroupEntity
     * @return
     */
    String addActFlowGroup(ActFlowGroupEntity actFlowGroupEntity);
    /**
     * 分组排序
     * @param ids
     * @return
     */
    void batchUpdateSort(List<String> ids);
}
